
<script type="text/javascript">
    $(function(){
        $("#pagination").twbsPagination({
            totalPages: ${pageResult.totalPage} ,
            startPage: ${pageResult.currentPage},
            visiblePages: 5,
            first:"首页",
            prev:"上页",
            next:"下页",
            last:"尾页",
            onPageClick:function(event, page){
                $("#currentPage").val(page);
                $("#searchForm").submit();
            }
        });
    });
</script>
